#include "Teacher.h"

using namespace std;

Teacher::Teacher(People _people, string _principalship, string _department): People(_people)
{
	principalship = _principalship;
	department = _department;
}

void Teacher::show()
{
	printf("编号: %d\n", account);
	printf("姓名: %s\n", name.c_str());
	printf("性别: %s\n", sex.c_str());
	printf("身份证号: %s\n", id.c_str());
	printf("出生日期: %04d-%02d-%02d\n", date.year, date.month, date.day);
	printf("职务: %s\n", principalship.c_str());
	printf("部门: %s\n", department.c_str());
}
